home *** CD-ROM | disk | FTP | other *** search
- # FreePDF -- v0.94 Beta 05/31/2000 web: http://over.to/freepdf
- # This script calls GhostScript to convert the
- # PS (PostScript) input file into a PDF on Windows 9x.
- #
- # Free PDF is used as part of
- # a process. This process enables one to Print to a special
- # printer from any Windows application and
- # create output files in the output folder.
- # in a PDF (Adobe's Portable Document Format) file,
- # which is viewable using
- # Adobe's Acrobat product among other programs.
- #
- # Limitations:
- # This version is Now Beta and close to release.
- # It has the location for the GhostScript
- # executable as "C:\Aladdin\gs6.01\bin\gswin32c.exe" ,
- # and the location for the Acrobat Reader
- # executable as
- # "C:\Program Files\Adobe\Acrobat 4.0\Reader\AcroRd32.exe" ,
- # These can be overriden by using the Config Screen
- # and clicking on the links for the files or by
- # editting the file "FREEPDF.INI"
- # in the FreePDF Directory
- #
- # From version 0.28 on you have the 'Save PDF as' button
- # which allows you to place the output PDF file
- # in whatever folder with whatever name you'd like.
- # FreePDF will remember the folder and output name
- # from the last time it was used.
- #
- # This program requires 2 parameters.
- # The 1st is ignored as are any past the 2cnd.
- # The second is the only one used
- # and should contain the full path and filename
- # of the Input PS temporary file to be converted.
- # to a PDF.
- # This is fine as REDRUN handles this
- # Open the file
- # C:\freepdf\dochtml\freepdf.htm for full details
- #
- # It is intended to be used in conjunction with
- #
- # RedMon (Printer port REDirection Monitor)
- # from Ghostgum Software Pty Ltd.,
- # and GhostScript from Aladdin Enterprises.
- # The setup for this whole process is involved.
- # Open the file
- # C:\freepdf\dochtml\freepdf.htm
- # in Internet explorer for full details
- #
- # FreePDF is distributed under the terms of the
- # ALADDIN FREE PUBLIC LICENCE
- # and is Copyright (C) 2000, BMRWare. All rights reserved.
- # See the ASCII file license in this directory for details.
- # Need "Program handles Output" on RPT1 setup
- #
- # RedMon (Printer port REDirection Monitor)
- # is Copyright (C) 1997-1999, Ghostgum Software Pty Ltd.
- # GhostScript is
- # Copyright (C) 1994, 1995, 1997, 1998 Aladdin Enterprises,
- # Menlo Park, California, U.S.A. All rights reserved.
- #
- # RCS: @(#) $Id: FreePDF,v 0.95 2000/05/31 18:23:30 Rhodes Exp $
-
-
-
- # Version Notes
- #+----+----------+------------------------------------------------------------+
- #+Ver |MM/DD/YYYY|Description +
- #+----+----------+------------------------------------------------------------+
- #+0.15|04/01/2000| First version just calls GhostScript +
- #+----+----------+------------------------------------------------------------+
- #+0.20|04/02/2000| Working on Parm madness Need Parm 2! +
- #+----+----------+------------------------------------------------------------+
- #+0.21|04/02/2000| Make call to gswin32.exe Writes "C:\WINDOWS\\Start Menu +
- #+ | | Writes "C:\WINDOWS\Start Menu\Output.pdf' +
- #+----+----------+------------------------------------------------------------+
- #+0.22|04/03/2000| Variablizing the hardcoded paths and program names +
- #+ | | Added buttons to View Output and Exit +
- #+ | | Next will make them configurable +
- #+----+----------+------------------------------------------------------------+
- #+0.23|04/02/2000| Added See Command Button moved screen text around +
- #+----+----------+------------------------------------------------------------+
- #+0.24|04/04/2000| Removed Acrobat save as tip and added adobe coppyright +
- #+----+----------+------------------------------------------------------------+
- #+0.27|04/05/2000| Added Make PDF, About and disabled Configure buttons +
- #+----+----------+------------------------------------------------------------+
- #+0.28|04/06/2000| Added ini file variables, Enabled Configure and +
- #+ | | renamed 'Make pdf' to 'Save PDF as..' buttons +
- #+----+----------+------------------------------------------------------------+
- #+0.30|04/07/2000| Added check that ini file exits and create if needed +
- #+ | | FreePDF also now saves and uses the settings from last time+
- #+----+----------+------------------------------------------------------------+
- #+0.31|04/23/2000| Changed defaults for Aladdin directory +
- #+----+----------+------------------------------------------------------------+
- #+0.32|04/24/2000| Revamped Config Screen! Added Browse Button in Config +
- #+ | | for Finding GhostScript PDF Converter and PDF Viewer! +
- #+ | | Added Automatic Copy to Clipboard of PDF path and name +
- #+ | | of the created PDF upon success +
- #+ | | Added Open PS for selecting PS file when bad parms passed +
- #+----+----------+------------------------------------------------------------+
- #+0.33|05/12/2000| Changed Title in Open file Dialog box for pdfViewer +
- #+----+----------+------------------------------------------------------------+
- #+0.87|05/19/2000| First Beta Release Small bugs Squashed! +
- #+----+----------+------------------------------------------------------------+
- #+0.94|05/26/2000| Added Checkbox Options to Config screen for +
- #+ | | "Show Save as Dialog Automatically", +
- #+ | | "Launch PDF Viewer Automatically After Conversion" and +
- #+ | | "Auto-Exit FreePDF After PDFViewer Close" +
- #+ | |About box is now real window also instead of just Dialog Box+
- #+----+----------+------------------------------------------------------------+
- #+0.95|05/31/2000| Added new Checkbox Options to Config screen for +
- #+ | | "Remind to close PDFViewer +
- #+----+----------+------------------------------------------------------------+
- #
- # List of things to do, future plans and ideas
- #+----------------------------------------------------------------------------+
- # Check content of file for PS header and Abort if absent
- # Log File
- # Right Click 'Convert to PDF' Explorer Integration
- # Optionally on Completion:
- # Zip 'output.pdf'
- # Batch mode with
- # Watched Input and Output Folders
- # Delete Input PS file after Successful PDF Creation Option
- # Update Checker and Downloader
- # Minimize to System Tray?
- # Installer and UNInstaller
- #+----------------------------------------------------------------------------+
-